# nums = [12, 34, 45, 56, 78, 4]
# even = []
# odd = []
# while len(nums) > 0:
#     num = nums.pop()
#     if num % 2 == 0:
#         even.append(num)
#     else:
#         odd.append(num)
# print(even, odd)



# for num in range(10, 20):  # 迭代到10到20之间的数字 10-19
#     for i in range(2, num):  # 根据因子迭代 2-9
#         if num % i == 0:  # 确定第一个因子
#             j = num / i  # 计算第二个因子
#             print('%d 等于 %d * %d' % (num, i, j))
#             break
#         else:
#             print(num, '是一个质数')



# from random import *
# seed(125)
# print("{},{},{}".format(randint(1,10),randint(1,10),randint(1,10)))
# print("{},{},{}".format(randint(1,10),randint(1,10),randint(1,10)))
# seed(125)
# print("{},{},{}".format(randint(1,10),randint(1,10),randint(1,10)))


